package com.macro.mall.tiny.modules.pms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.macro.mall.tiny.dto.RelationAttrInfoDTO;
import com.macro.mall.tiny.modules.pms.model.PmsProductAttribute;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品属性参数表 服务类
 * </p>
 *
 * @author macro
 * @since 2024-08-15
 */
public interface PmsProductAttributeService extends IService<PmsProductAttribute> {

    List<RelationAttrInfoDTO> getRelationAttrInfoByPcId(Long pcId);

    Page<PmsProductAttribute> list(Long pacId, Integer pageSize, Integer pageNum, Integer type);

    boolean delete(List<Long> ids);

    boolean create(PmsProductAttribute productAttribute);
}
